package com.集合06.map;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * 创建线程安全的map集合
 */
public class SafeMap {

    static Map<Long,String> users  = Collections.synchronizedMap(new HashMap<Long,String>());


}
